package com.msg.beans;

import org.codehaus.jettison.json.JSONException;
import org.codehaus.jettison.json.JSONObject;


public class SeasonBean{

	public String getTicket_Level() {
		return Ticket_Level;
	}


	public void setTicket_Level(String ticket_Level) {
		Ticket_Level = ticket_Level;
	}

	public String getTicket_Group() {
		return Ticket_Group;
	}


	public void setTicket_Group(String ticket_Group) {
		Ticket_Group = ticket_Group;
	}
	public int getSold_Seats() {
		return Sold_Seats;
	}


	public void setSold_Seats(int sold_Seats) {
		Sold_Seats = sold_Seats;
	}

	
	public double getTotal_Amount() {
		return Total_Amount;
	}


	public void setTotal_Amount(double total_Amount) {
		Total_Amount = total_Amount;
	}
	public double getPercentage_Capacity() {
		return Percentage_Capacity;
	}


	public void setPercentage_Capacity(double percentage_Capacity) {
		Percentage_Capacity = percentage_Capacity;
	}

	private String Ticket_Level,Ticket_Group;
	private int Sold_Seats;
	private double Total_Amount,Percentage_Capacity;
	private String season;

	
	public String getSeason() {
		return season;
	}


	public void setSeason(String season) {
		this.season = season;
	}


	public SeasonBean(){}


	public JSONObject toJSONObject() {
		JSONObject json = new JSONObject();
		try {
			json.put("Ticket_Level", Ticket_Level);
			json.put("Ticket_Group", Ticket_Group);
			json.put("Sold_Seats",Sold_Seats);
			json.put("Total_Amount", Total_Amount);
			json.put("Percentage_Capacity", Percentage_Capacity);
			json.put("season", season);
			
		} catch (JSONException e) {
			e.printStackTrace();
		}
		return json;
	}





	@Override
	public String toString() {
		return "S1Bean [Ticket_Level=" + Ticket_Level + ", Ticket_Group="
				+ Ticket_Group + ", Sold_Seats=" + Sold_Seats + ", Total_Amount="
				+ Total_Amount + ", Percentage_Capacity=" + Percentage_Capacity + "]";
	}


	
}